package com.epidemic.project.system.jiaoliu.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.epidemic.framework.aspectj.lang.annotation.Excel;
import com.epidemic.framework.web.domain.BaseEntity;

/**
 * 交流沟通对象 sys_jiao_liu
 *
 * @author sys
 * @date 2023-02-01
 */
public class SysJiaoLiu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 学生 */
    @Excel(name = "学生")
    private Long userId;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String userName;

    /** 留言内容 */
    @Excel(name = "留言内容")
    private String content;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String huiFu;

    /** 添加时间 */
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;

    /** 回复时间 */
    @Excel(name = "回复时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date huiFuTime;

    /** 老师 */
    @Excel(name = "老师")
    private Long teacherId;

    /** 老师姓名 */
    @Excel(name = "老师姓名")
    private String teacherName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setHuiFu(String huiFu)
    {
        this.huiFu = huiFu;
    }

    public String getHuiFu()
    {
        return huiFu;
    }
    public void setAddTime(Date addTime)
    {
        this.addTime = addTime;
    }

    public Date getAddTime()
    {
        return addTime;
    }
    public void setHuiFuTime(Date huiFuTime)
    {
        this.huiFuTime = huiFuTime;
    }

    public Date getHuiFuTime()
    {
        return huiFuTime;
    }
    public void setTeacherId(Long teacherId)
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId()
    {
        return teacherId;
    }
    public void setTeacherName(String teacherName)
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName()
    {
        return teacherName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("content", getContent())
            .append("huiFu", getHuiFu())
            .append("addTime", getAddTime())
            .append("huiFuTime", getHuiFuTime())
            .append("teacherId", getTeacherId())
            .append("teacherName", getTeacherName())
            .toString();
    }
}
